/*
logic for echo client.
**/

#ifndef _STR_CLI_INCLUDED
#define _STR_CLI_INCLUDED
#include <netinet/in.h>
#include <stdio.h>

void dg_cli(FILE *file, int sockfd, const struct sockaddr *sa, socklen_t salen);
void dg_cliaddr(FILE *file, int sockfd, const struct sockaddr *sa, socklen_t salen);
void dg_cliconnect(FILE *file, int sockfd, const struct sockaddr *sa, socklen_t salen);
void dg_cliloop1(int sockfd, const struct sockaddr *sa, socklen_t salen);

#endif // _STR_CLI_INCLUDED
